<style type="text/css">
    .nickname{
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
    }
    .recharge-btn {
        margin: 0!important;
        padding: 0!important;
    }
    .recharge-btn.withdraw-btn{
        top: 62px;
        background: #e4393c;
    }
</style>

<?php $this->regCss('user1') ?>
<?php $this->regJs('common1') ?>
<?php $this->regJs('jquery.form') ?>
<?php $this->regJs('user1') ?>




<?php use frontend\models\User; ?>
<div class="wrap">
    <div class="container">
        <header class="row">
            <div class="header-top col-xs-12 no-padding text-center">
                <a class="recharge-btn" href="<?= url(['user/recharge']) ?>">
                    充值
                </a>
                <a class="recharge-btn withdraw-btn" href="<?= url(['user/withDraw']) ?>">
                    提现
                </a>
                <img class="head" src="/images/142312478575.jpg">
                <p><?= u()->nickname ?></p>
                <div class="account"><?= u()->account - u()->blocked_account ?></div>
            </div>
            <a class="shut-down" href="<?= url(['site/logout']) ?>">
                <img src="/images/shutdown.png">    
            </a>
        </header>

        <div class="row two-money">
            <div class="col-xs-6 text-center">
                <span><?= u()->account - u()->blocked_account ?></span>
                <div>可用余额</div>
            </div>
            <div class="col-xs-6 text-center guarante">
                <span>0.00</span>
                <div>占用保障金</div>
            </div>
        </div>
        <!-- <div class="row">
            <div class="header-bottom col-xs-12 no-padding text-center">
                <a class="col-xs-4 no-padding" href="">
                    <img src="">
                    <p>充值</p>
                </a>
                <a class="col-xs-4 no-padding" href="">
                    <img src="">
                    <p>提现</p>
                </a>
                <a class="col-xs-4 no-padding" href="">
                    <img src="">
                    <p>明细</p>
                </a>
            </div>
        </div> -->
        <div class="row page page-row2">
            <a href="<?= url(['user/transDetail']) ?>">
                <div class="col-xs-2">
                    <img style="width: 30px;height: 30px;" src="/images/history.png">
                </div>
                <div class="col-xs-8 no-padding">
                    我的商品轨迹
                </div>
                <div class="col-xs-2">
                    <img class="tri" src="/images/a1.png">
                </div>
            </a>
        </div>
        <div class="row page page-row2">
            <a href="<?= url(['user/outMoney']) ?>">
                <div class="col-xs-2">
                    <img src="/images/icon-expenditure.png">
                </div>
                <div class="col-xs-8 no-padding">
                    出金记录
                </div>
                <div class="col-xs-2">
                    <img class="tri" src="/images/a1.png">
                </div>
            </a>
        </div>
        <div class="row page page-row3">
            <a href="<?= url(['user/myBill']) ?>">
                <div class="col-xs-2">
                    <img style="width: 28px;height: 28px;" src="/images/icon-income.png">
                </div>
                <div class="col-xs-8 no-padding">
                    入金记录
                </div>
                <div class="col-xs-2">
                    <img class="tri" src="/images/a1.png">
                </div>
            </a>
        </div>
        <div class="row page page-row4">
            <a href="<?= url(['user/password']) ?>">
                <div class="col-xs-2">
                    <img style="width: 30px;height: 30px;" src="/images/icon-setting.png">
                </div>
                <div class="col-xs-8 no-padding">
                    修改密码
                </div>
                <div class="col-xs-2">
                    <img class="tri" src="/images/a1.png">
                </div>
            </a>
        </div>
        <div class="row page page-row5">
            <a href="<?= url(['manager/index']) ?>">
                <div class="col-xs-2">
                    <img src="/images/icon-operrec.png">
                </div>
                <div class="col-xs-8 no-padding">
                    经纪人
                </div>
                <div class="col-xs-2">
                    <img class="tri" src="/images/a1.png">
                </div>
            </a>
        </div>
        <!-- <div class="row page page-row5 mb-50">
            <a href="http://a13.ruiciu.top/site/server">
                <div class="col-xs-2">
                    <img style="width: 30px;height: 30px;" src="/images/server.png">
                </div>
                <div class="col-xs-8 no-padding">
                    专属客服
                </div>
                <div class="col-xs-2">
                    <img class="tri" src="/images/a1.png">
                </div>
            </a>
        </div> -->
    </div>
</div>
<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>


